package com.cskaoyan.service;

import com.cskaoyan.model.Issue;
import com.cskaoyan.model.bo.BaseParamBO;
import com.cskaoyan.model.vo.DataVO;
import com.cskaoyan.model.vo.IssueDataVO;

/**
  *@ClassName: IssueService
  *@Description: TODO 通用问题的Service接口
  *@Author: java38.zk
  *@Date: 2022/5/5 20:27
  *@Version: 1.0
 **/
public interface IssueService {
    IssueDataVO query(String question, BaseParamBO baseParamBO);
    Issue insert(String question, String answer);
    int delete(Issue issue);
    Issue update(Issue issue);

    DataVO<Issue> queryAllIssues(BaseParamBO paramBO);
}
